package com.woniuxy.commons.entity.sale.dto;


import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author: CHL  <br/>
 * @ToDo: 用于封装返回给前端的dto对象
 * Date: 2022/4/19:19:50  <br/>
 * Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ApiModel(value = "用于封装返回给前端的dto对象")
public class ChooseProduceMsgDto {

    @ExcelProperty("产品信息自增id")
    @ApiModelProperty(value = "产品信息自增id")
    private Integer id;

    @ExcelProperty("客户")
    @ApiModelProperty(value = "客户")
    private String customer;

    @ExcelProperty("数量")
    @ApiModelProperty(value = "数量")
    private Integer nums;

    @ExcelProperty("打包信息表id")
    @ApiModelProperty(value = "打包信息表id")
    private Integer psId;

    @ExcelProperty("选货单表id")
    @ApiModelProperty(value = "选货单表id")
    private Integer soId;


    @ApiModelProperty(value = "当前商品是否被结算(1没有结算 2为结算)")
    private Integer settlement;


    @ApiModelProperty(value = "产品信息")
    private String productInfo;


    @ApiModelProperty(value = "产品名称")
    private String productName;


    @ApiModelProperty(value = "产品编号")
    private String productCode;


    @ApiModelProperty(value = "区域")
    private String region;


    @ApiModelProperty(value = "成色")
    private Integer condition;

    @ApiModelProperty(value = "重量")
    private Integer weight;


    @ApiModelProperty(value = "克工费")
    private Integer perGram;


    @ApiModelProperty(value = "一个选货商品 对应一个商品")
    private ProductDto productDto;

}
